/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ihm;

import javax.swing.JDialog;
import model.Date;
import model.HistoriqueTrajet;
import model.Statistique;
/**
 *
 * @author benoit
 */
public class IHMStatistique extends JDialog {

    /**
     * Creates new form IHMStatistique
     */
    public IHMStatistique(IHMSimulation iHMSimulation, HistoriqueTrajet histoTrajet,Date dateDebut,Date dateFin) {
        super(iHMSimulation, true);
        initComponents();
        Statistique stat = new Statistique(dateDebut,dateFin);
        stat.calculerStatistique(histoTrajet);
        int consoTotale;
        int nbHeure = (Math.abs(dateDebut.getHeure() - dateFin.getHeure()) == 0 ? (Math.abs(dateDebut.getHeure() - dateFin.getHeure())) : 1);
        
        //Initialise le nombre de voyage par ascenseur
        varNbVoyages1.setText(String.valueOf(stat.getStat()[0][0]));
        varNbVoyages2.setText(String.valueOf(stat.getStat()[0][1]));
        varNbVoyages3.setText(String.valueOf(stat.getStat()[0][2]));
        varNbVoyages4.setText(String.valueOf(stat.getStat()[0][3]));
        varNbVoyages5.setText(String.valueOf(stat.getStat()[0][4]));
        varNbVoyages6.setText(String.valueOf(stat.getStat()[0][5]));
        
        //Initialise le nombre de voyage moyen par heure pour chaque ascenseur
        varNbVoyagesHeure1.setText(String.valueOf(stat.getStat()[0][0]/nbHeure));
        varNbVoyagesHeure2.setText(String.valueOf(stat.getStat()[0][1]/nbHeure));
        varNbVoyagesHeure3.setText(String.valueOf(stat.getStat()[0][2]/nbHeure));
        varNbVoyagesHeure4.setText(String.valueOf(stat.getStat()[0][3]/nbHeure));
        varNbVoyagesHeure5.setText(String.valueOf(stat.getStat()[0][4]/nbHeure));
        varNbVoyagesHeure6.setText(String.valueOf(stat.getStat()[0][5]/nbHeure));
        
        //Initialise la consommation electrique par ascenseur
        varTotalConsoElec1.setText(String.valueOf(stat.getStat()[1][0]/nbHeure));
        varTotalConsoElec2.setText(String.valueOf(stat.getStat()[1][1]/nbHeure));
        varTotalConsoElec3.setText(String.valueOf(stat.getStat()[1][2]/nbHeure));
        varTotalConsoElec4.setText(String.valueOf(stat.getStat()[1][3]/nbHeure));
        varTotalConsoElec5.setText(String.valueOf(stat.getStat()[1][4]/nbHeure));
        varTotalConsoElec6.setText(String.valueOf(stat.getStat()[1][5]/nbHeure));
        
        //Initialise la consommation electrique moyenne par voyage pour chaque ascenseur
        varMoyenneConsoElecVoyage1.setText(String.valueOf((stat.getStat()[1][0])/( (stat.getStat()[0][6] / nbHeure) != 0 ? stat.getStat()[0][6] : 1)));
        varMoyenneConsoElecVoyage2.setText(String.valueOf((stat.getStat()[1][1])/( (stat.getStat()[0][6] / nbHeure) != 0 ? stat.getStat()[0][6] : 1)));
        varMoyenneConsoElecVoyage3.setText(String.valueOf((stat.getStat()[1][2])/( (stat.getStat()[0][6] / nbHeure) != 0 ? stat.getStat()[0][6] : 1)));
        varMoyenneConsoElecVoyage4.setText(String.valueOf((stat.getStat()[1][3])/( (stat.getStat()[0][6] / nbHeure) != 0 ? stat.getStat()[0][6] : 1)));
        varMoyenneConsoElecVoyage5.setText(String.valueOf((stat.getStat()[1][4])/( (stat.getStat()[0][6] / nbHeure) != 0 ? stat.getStat()[0][6] : 1)));
        varMoyenneConsoElecVoyage6.setText(String.valueOf((stat.getStat()[1][5])/( (stat.getStat()[0][6] / nbHeure) != 0 ? stat.getStat()[0][6] : 1)));
        
        //Initialise la consommation electrique moyenne par heure pour chaque ascenseur
        varMoyenneConsoElecHeure1.setText(String.valueOf(stat.getStat()[1][0]/nbHeure));
        varMoyenneConsoElecHeure2.setText(String.valueOf(stat.getStat()[1][1]/nbHeure));
        varMoyenneConsoElecHeure3.setText(String.valueOf(stat.getStat()[1][2]/nbHeure));
        varMoyenneConsoElecHeure4.setText(String.valueOf(stat.getStat()[1][3]/nbHeure));
        varMoyenneConsoElecHeure5.setText(String.valueOf(stat.getStat()[1][4]/nbHeure));
        varMoyenneConsoElecHeure6.setText(String.valueOf(stat.getStat()[1][5]/nbHeure));
        
        //Initialise les statistique pour tous les ascenseurs
        consoTotale = stat.getStat()[1][0] + stat.getStat()[1][1] + stat.getStat()[1][2] + stat.getStat()[1][3] + stat.getStat()[1][4] + stat.getStat()[1][5];
        consoTotale = consoTotale / nbHeure;
        
        varNbVoyages7.setText(String.valueOf(stat.getStat()[0][6]));
        varNbVoyagesHeure7.setText(String.valueOf(stat.getStat()[0][6]/nbHeure));
        varTotalConsoElec7.setText(String.valueOf(consoTotale/nbHeure));
        varMoyenneConsoElecVoyage7.setText(String.valueOf(consoTotale/nbHeure/(stat.getStat()[0][6] != 0 ? stat.getStat()[0][6] : 1)));
        varMoyenneConsoElecHeure7.setText(String.valueOf(consoTotale/nbHeure));
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">                          
    private void initComponents() {

        PanelAscenseur1 = new javax.swing.JPanel();
        labelNbVoyages1 = new javax.swing.JLabel();
        labelNbVoyagesHeure1 = new javax.swing.JLabel();
        labelTotalConsoElec1 = new javax.swing.JLabel();
        labelMoyenneConsoElecVoyage1 = new javax.swing.JLabel();
        labelMoyenneConsoElecHeure1 = new javax.swing.JLabel();
        labelNomAscenseur1 = new javax.swing.JLabel();
        varNbVoyages1 = new javax.swing.JLabel();
        varNbVoyagesHeure1 = new javax.swing.JLabel();
        varTotalConsoElec1 = new javax.swing.JLabel();
        varMoyenneConsoElecVoyage1 = new javax.swing.JLabel();
        varMoyenneConsoElecHeure1 = new javax.swing.JLabel();
        PanelAscenseur3 = new javax.swing.JPanel();
        labelNbVoyages3 = new javax.swing.JLabel();
        labelNbVoyagesHeure3 = new javax.swing.JLabel();
        labelTotalConsoElec3 = new javax.swing.JLabel();
        labelMoyenneConsoElecVoyage3 = new javax.swing.JLabel();
        labelMoyenneConsoElecHeure3 = new javax.swing.JLabel();
        labelNomAscenseur3 = new javax.swing.JLabel();
        varNbVoyages3 = new javax.swing.JLabel();
        varNbVoyagesHeure3 = new javax.swing.JLabel();
        varTotalConsoElec3 = new javax.swing.JLabel();
        varMoyenneConsoElecVoyage3 = new javax.swing.JLabel();
        varMoyenneConsoElecHeure3 = new javax.swing.JLabel();
        PanelAscenseur4 = new javax.swing.JPanel();
        labelNbVoyages4 = new javax.swing.JLabel();
        labelNbVoyagesHeure4 = new javax.swing.JLabel();
        labelTotalConsoElec4 = new javax.swing.JLabel();
        labelMoyenneConsoElecVoyage4 = new javax.swing.JLabel();
        labelMoyenneConsoElecHeure4 = new javax.swing.JLabel();
        labelNomAscenseur4 = new javax.swing.JLabel();
        varNbVoyages4 = new javax.swing.JLabel();
        varNbVoyagesHeure4 = new javax.swing.JLabel();
        varTotalConsoElec4 = new javax.swing.JLabel();
        varMoyenneConsoElecVoyage4 = new javax.swing.JLabel();
        varMoyenneConsoElecHeure4 = new javax.swing.JLabel();
        PanelAscenseur5 = new javax.swing.JPanel();
        labelNbVoyages5 = new javax.swing.JLabel();
        labelNbVoyagesHeure5 = new javax.swing.JLabel();
        labelTotalConsoElec5 = new javax.swing.JLabel();
        labelMoyenneConsoElecVoyage5 = new javax.swing.JLabel();
        labelMoyenneConsoElecHeure5 = new javax.swing.JLabel();
        labelNomAscenseur5 = new javax.swing.JLabel();
        varNbVoyages5 = new javax.swing.JLabel();
        varNbVoyagesHeure5 = new javax.swing.JLabel();
        varTotalConsoElec5 = new javax.swing.JLabel();
        varMoyenneConsoElecVoyage5 = new javax.swing.JLabel();
        varMoyenneConsoElecHeure5 = new javax.swing.JLabel();
        PanelAscenseur6 = new javax.swing.JPanel();
        labelNbVoyages6 = new javax.swing.JLabel();
        labelNbVoyagesHeure6 = new javax.swing.JLabel();
        labelTotalConsoElec6 = new javax.swing.JLabel();
        labelMoyenneConsoElecVoyage6 = new javax.swing.JLabel();
        labelMoyenneConsoElecHeure6 = new javax.swing.JLabel();
        labelNomAscenseur6 = new javax.swing.JLabel();
        varNbVoyages6 = new javax.swing.JLabel();
        varNbVoyagesHeure6 = new javax.swing.JLabel();
        varTotalConsoElec6 = new javax.swing.JLabel();
        varMoyenneConsoElecVoyage6 = new javax.swing.JLabel();
        varMoyenneConsoElecHeure6 = new javax.swing.JLabel();
        PanelAscenseur7 = new javax.swing.JPanel();
        labelNbVoyages7 = new javax.swing.JLabel();
        labelNbVoyagesHeure7 = new javax.swing.JLabel();
        labelTotalConsoElec7 = new javax.swing.JLabel();
        labelMoyenneConsoElecVoyage7 = new javax.swing.JLabel();
        labelMoyenneConsoElecHeure7 = new javax.swing.JLabel();
        labelNomAscenseur7 = new javax.swing.JLabel();
        varNbVoyages7 = new javax.swing.JLabel();
        varNbVoyagesHeure7 = new javax.swing.JLabel();
        varTotalConsoElec7 = new javax.swing.JLabel();
        varMoyenneConsoElecVoyage7 = new javax.swing.JLabel();
        varMoyenneConsoElecHeure7 = new javax.swing.JLabel();
        PanelAscenseur2 = new javax.swing.JPanel();
        labelNbVoyages2 = new javax.swing.JLabel();
        labelNbVoyagesHeure2 = new javax.swing.JLabel();
        labelTotalConsoElec2 = new javax.swing.JLabel();
        labelMoyenneConsoElecVoyage2 = new javax.swing.JLabel();
        labelMoyenneConsoElecHeure2 = new javax.swing.JLabel();
        labelNomAscenseur2 = new javax.swing.JLabel();
        varNbVoyages2 = new javax.swing.JLabel();
        varNbVoyagesHeure2 = new javax.swing.JLabel();
        varTotalConsoElec2 = new javax.swing.JLabel();
        varMoyenneConsoElecVoyage2 = new javax.swing.JLabel();
        varMoyenneConsoElecHeure2 = new javax.swing.JLabel();
        Titre = new javax.swing.JLabel();

        setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
        setAlwaysOnTop(true);
        setName("FenetreStatistiques"); // NOI18N

        labelNbVoyages1.setText("Nombre de voyages : ");

        labelNbVoyagesHeure1.setText("Nombre de voyages par heure :");

        labelTotalConsoElec1.setText("Total consommation electrique");

        labelMoyenneConsoElecVoyage1.setText("Moyenne consommation électrique par voyage :");

        labelMoyenneConsoElecHeure1.setText("Moyenne consommation électrique par heure :");

        labelNomAscenseur1.setBackground(new java.awt.Color(0, 0, 0));
        labelNomAscenseur1.setText("Ascenseur 1");
        labelNomAscenseur1.setBorder(javax.swing.BorderFactory.createEtchedBorder());

        varNbVoyages1.setText("varNbVoyages1");

        varNbVoyagesHeure1.setDisplayedMnemonic('v');
        varNbVoyagesHeure1.setText("varNbVoyagesHeure1");

        varTotalConsoElec1.setText("varTotalConsoElec1");

        varMoyenneConsoElecVoyage1.setText("varMoyenneConsoElecVoyage1");

        varMoyenneConsoElecHeure1.setText("varMoyenneConsoElecHeure1");

        javax.swing.GroupLayout PanelAscenseur1Layout = new javax.swing.GroupLayout(PanelAscenseur1);
        PanelAscenseur1.setLayout(PanelAscenseur1Layout);
        PanelAscenseur1Layout.setHorizontalGroup(
            PanelAscenseur1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(PanelAscenseur1Layout.createSequentialGroup()
                .addGap(6, 6, 6)
                .addComponent(labelNomAscenseur1, javax.swing.GroupLayout.DEFAULT_SIZE, 88, Short.MAX_VALUE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(PanelAscenseur1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(PanelAscenseur1Layout.createSequentialGroup()
                        .addComponent(labelNbVoyages1)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(varNbVoyages1))
                    .addGroup(PanelAscenseur1Layout.createSequentialGroup()
                        .addComponent(labelNbVoyagesHeure1)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(varNbVoyagesHeure1))
                    .addGroup(PanelAscenseur1Layout.createSequentialGroup()
                        .addComponent(labelTotalConsoElec1)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(varTotalConsoElec1))
                    .addGroup(PanelAscenseur1Layout.createSequentialGroup()
                        .addComponent(labelMoyenneConsoElecVoyage1)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(varMoyenneConsoElecVoyage1))
                    .addGroup(PanelAscenseur1Layout.createSequentialGroup()
                        .addComponent(labelMoyenneConsoElecHeure1)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(varMoyenneConsoElecHeure1)))
                .addContainerGap(155, Short.MAX_VALUE))
        );
        PanelAscenseur1Layout.setVerticalGroup(
            PanelAscenseur1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(PanelAscenseur1Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(PanelAscenseur1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(labelNbVoyages1)
                    .addComponent(varNbVoyages1))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(PanelAscenseur1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(labelNomAscenseur1, javax.swing.GroupLayout.PREFERRED_SIZE, 26, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(PanelAscenseur1Layout.createSequentialGroup()
                        .addGroup(PanelAscenseur1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(labelNbVoyagesHeure1)
                            .addComponent(varNbVoyagesHeure1))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(PanelAscenseur1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(labelTotalConsoElec1)
                            .addComponent(varTotalConsoElec1))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(PanelAscenseur1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(labelMoyenneConsoElecVoyage1)
                            .addComponent(varMoyenneConsoElecVoyage1))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(PanelAscenseur1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(labelMoyenneConsoElecHeure1)
                            .addComponent(varMoyenneConsoElecHeure1))))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        varNbVoyages1.getAccessibleContext().setAccessibleDescription("");

        labelNbVoyages3.setText("Nombre de voyages : ");

        labelNbVoyagesHeure3.setText("Nombre de voyages par heure :");

        labelTotalConsoElec3.setText("Total consommation electrique");

        labelMoyenneConsoElecVoyage3.setText("Moyenne consommation électrique par voyage :");

        labelMoyenneConsoElecHeure3.setText("Moyenne consommation électrique par heure :");

        labelNomAscenseur3.setBackground(new java.awt.Color(0, 0, 0));
        labelNomAscenseur3.setText("Ascenseur 3");
        labelNomAscenseur3.setBorder(javax.swing.BorderFactory.createEtchedBorder());

        varNbVoyages3.setText("varNbVoyages3");

        varNbVoyagesHeure3.setDisplayedMnemonic('v');
        varNbVoyagesHeure3.setText("varNbVoyagesHeure3");

        varTotalConsoElec3.setText("varTotalConsoElec3");

        varMoyenneConsoElecVoyage3.setText("varMoyenneConsoElecVoyage3");

        varMoyenneConsoElecHeure3.setText("varMoyenneConsoElecHeure3");

        javax.swing.GroupLayout PanelAscenseur3Layout = new javax.swing.GroupLayout(PanelAscenseur3);
        PanelAscenseur3.setLayout(PanelAscenseur3Layout);
        PanelAscenseur3Layout.setHorizontalGroup(
            PanelAscenseur3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(PanelAscenseur3Layout.createSequentialGroup()
                .addGap(6, 6, 6)
                .addComponent(labelNomAscenseur3, javax.swing.GroupLayout.DEFAULT_SIZE, 88, Short.MAX_VALUE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(PanelAscenseur3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(PanelAscenseur3Layout.createSequentialGroup()
                        .addComponent(labelNbVoyages3)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(varNbVoyages3))
                    .addGroup(PanelAscenseur3Layout.createSequentialGroup()
                        .addComponent(labelNbVoyagesHeure3)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(varNbVoyagesHeure3))
                    .addGroup(PanelAscenseur3Layout.createSequentialGroup()
                        .addComponent(labelTotalConsoElec3)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(varTotalConsoElec3))
                    .addGroup(PanelAscenseur3Layout.createSequentialGroup()
                        .addComponent(labelMoyenneConsoElecVoyage3)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(varMoyenneConsoElecVoyage3))
                    .addGroup(PanelAscenseur3Layout.createSequentialGroup()
                        .addComponent(labelMoyenneConsoElecHeure3)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(varMoyenneConsoElecHeure3)))
                .addContainerGap(155, Short.MAX_VALUE))
        );
        PanelAscenseur3Layout.setVerticalGroup(
            PanelAscenseur3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(PanelAscenseur3Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(PanelAscenseur3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(labelNbVoyages3)
                    .addComponent(varNbVoyages3))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(PanelAscenseur3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(labelNomAscenseur3, javax.swing.GroupLayout.PREFERRED_SIZE, 26, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(PanelAscenseur3Layout.createSequentialGroup()
                        .addGroup(PanelAscenseur3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(labelNbVoyagesHeure3)
                            .addComponent(varNbVoyagesHeure3))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(PanelAscenseur3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(labelTotalConsoElec3)
                            .addComponent(varTotalConsoElec3))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(PanelAscenseur3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(labelMoyenneConsoElecVoyage3)
                            .addComponent(varMoyenneConsoElecVoyage3))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(PanelAscenseur3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(labelMoyenneConsoElecHeure3)
                            .addComponent(varMoyenneConsoElecHeure3))))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        labelNbVoyages4.setText("Nombre de voyages : ");

        labelNbVoyagesHeure4.setText("Nombre de voyages par heure :");

        labelTotalConsoElec4.setText("Total consommation electrique");

        labelMoyenneConsoElecVoyage4.setText("Moyenne consommation électrique par voyage :");

        labelMoyenneConsoElecHeure4.setText("Moyenne consommation électrique par heure :");

        labelNomAscenseur4.setBackground(new java.awt.Color(0, 0, 0));
        labelNomAscenseur4.setText("Ascenseur 4");
        labelNomAscenseur4.setBorder(javax.swing.BorderFactory.createEtchedBorder());

        varNbVoyages4.setText("varNbVoyages4");

        varNbVoyagesHeure4.setDisplayedMnemonic('v');
        varNbVoyagesHeure4.setText("varNbVoyagesHeure4");

        varTotalConsoElec4.setText("varTotalConsoElec4");

        varMoyenneConsoElecVoyage4.setText("varMoyenneConsoElecVoyage4");

        varMoyenneConsoElecHeure4.setText("varMoyenneConsoElecHeure4");

        javax.swing.GroupLayout PanelAscenseur4Layout = new javax.swing.GroupLayout(PanelAscenseur4);
        PanelAscenseur4.setLayout(PanelAscenseur4Layout);
        PanelAscenseur4Layout.setHorizontalGroup(
            PanelAscenseur4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(PanelAscenseur4Layout.createSequentialGroup()
                .addGap(6, 6, 6)
                .addComponent(labelNomAscenseur4, javax.swing.GroupLayout.DEFAULT_SIZE, 88, Short.MAX_VALUE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(PanelAscenseur4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(PanelAscenseur4Layout.createSequentialGroup()
                        .addComponent(labelNbVoyages4)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(varNbVoyages4))
                    .addGroup(PanelAscenseur4Layout.createSequentialGroup()
                        .addComponent(labelNbVoyagesHeure4)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(varNbVoyagesHeure4))
                    .addGroup(PanelAscenseur4Layout.createSequentialGroup()
                        .addComponent(labelTotalConsoElec4)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(varTotalConsoElec4))
                    .addGroup(PanelAscenseur4Layout.createSequentialGroup()
                        .addComponent(labelMoyenneConsoElecVoyage4)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(varMoyenneConsoElecVoyage4))
                    .addGroup(PanelAscenseur4Layout.createSequentialGroup()
                        .addComponent(labelMoyenneConsoElecHeure4)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(varMoyenneConsoElecHeure4)))
                .addContainerGap(155, Short.MAX_VALUE))
        );
        PanelAscenseur4Layout.setVerticalGroup(
            PanelAscenseur4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(PanelAscenseur4Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(PanelAscenseur4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(labelNbVoyages4)
                    .addComponent(varNbVoyages4))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(PanelAscenseur4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(labelNomAscenseur4, javax.swing.GroupLayout.PREFERRED_SIZE, 26, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(PanelAscenseur4Layout.createSequentialGroup()
                        .addGroup(PanelAscenseur4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(labelNbVoyagesHeure4)
                            .addComponent(varNbVoyagesHeure4))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(PanelAscenseur4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(labelTotalConsoElec4)
                            .addComponent(varTotalConsoElec4))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(PanelAscenseur4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(labelMoyenneConsoElecVoyage4)
                            .addComponent(varMoyenneConsoElecVoyage4))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(PanelAscenseur4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(labelMoyenneConsoElecHeure4)
                            .addComponent(varMoyenneConsoElecHeure4))))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        labelNbVoyages5.setText("Nombre de voyages : ");

        labelNbVoyagesHeure5.setText("Nombre de voyages par heure :");

        labelTotalConsoElec5.setText("Total consommation electrique");

        labelMoyenneConsoElecVoyage5.setText("Moyenne consommation électrique par voyage :");

        labelMoyenneConsoElecHeure5.setText("Moyenne consommation électrique par heure :");

        labelNomAscenseur5.setBackground(new java.awt.Color(0, 0, 0));
        labelNomAscenseur5.setText("Ascenseur 5");
        labelNomAscenseur5.setBorder(javax.swing.BorderFactory.createEtchedBorder());

        varNbVoyages5.setText("varNbVoyages5");

        varNbVoyagesHeure5.setDisplayedMnemonic('v');
        varNbVoyagesHeure5.setText("varNbVoyagesHeure5");

        varTotalConsoElec5.setText("varTotalConsoElec5");

        varMoyenneConsoElecVoyage5.setText("varMoyenneConsoElecVoyage5");

        varMoyenneConsoElecHeure5.setText("varMoyenneConsoElecHeure5");

        javax.swing.GroupLayout PanelAscenseur5Layout = new javax.swing.GroupLayout(PanelAscenseur5);
        PanelAscenseur5.setLayout(PanelAscenseur5Layout);
        PanelAscenseur5Layout.setHorizontalGroup(
            PanelAscenseur5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(PanelAscenseur5Layout.createSequentialGroup()
                .addGap(6, 6, 6)
                .addComponent(labelNomAscenseur5, javax.swing.GroupLayout.DEFAULT_SIZE, 88, Short.MAX_VALUE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(PanelAscenseur5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(PanelAscenseur5Layout.createSequentialGroup()
                        .addComponent(labelNbVoyages5)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(varNbVoyages5))
                    .addGroup(PanelAscenseur5Layout.createSequentialGroup()
                        .addComponent(labelNbVoyagesHeure5)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(varNbVoyagesHeure5))
                    .addGroup(PanelAscenseur5Layout.createSequentialGroup()
                        .addComponent(labelTotalConsoElec5)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(varTotalConsoElec5))
                    .addGroup(PanelAscenseur5Layout.createSequentialGroup()
                        .addComponent(labelMoyenneConsoElecVoyage5)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(varMoyenneConsoElecVoyage5))
                    .addGroup(PanelAscenseur5Layout.createSequentialGroup()
                        .addComponent(labelMoyenneConsoElecHeure5)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(varMoyenneConsoElecHeure5)))
                .addContainerGap(155, Short.MAX_VALUE))
        );
        PanelAscenseur5Layout.setVerticalGroup(
            PanelAscenseur5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(PanelAscenseur5Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(PanelAscenseur5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(labelNbVoyages5)
                    .addComponent(varNbVoyages5))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(PanelAscenseur5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(labelNomAscenseur5, javax.swing.GroupLayout.PREFERRED_SIZE, 26, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(PanelAscenseur5Layout.createSequentialGroup()
                        .addGroup(PanelAscenseur5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(labelNbVoyagesHeure5)
                            .addComponent(varNbVoyagesHeure5))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(PanelAscenseur5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(labelTotalConsoElec5)
                            .addComponent(varTotalConsoElec5))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(PanelAscenseur5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(labelMoyenneConsoElecVoyage5)
                            .addComponent(varMoyenneConsoElecVoyage5))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(PanelAscenseur5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(labelMoyenneConsoElecHeure5)
                            .addComponent(varMoyenneConsoElecHeure5))))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        labelNbVoyages6.setText("Nombre de voyages : ");

        labelNbVoyagesHeure6.setText("Nombre de voyages par heure :");

        labelTotalConsoElec6.setText("Total consommation electrique");

        labelMoyenneConsoElecVoyage6.setText("Moyenne consommation électrique par voyage :");

        labelMoyenneConsoElecHeure6.setText("Moyenne consommation électrique par heure :");

        labelNomAscenseur6.setBackground(new java.awt.Color(0, 0, 0));
        labelNomAscenseur6.setText("Ascenseur 6");
        labelNomAscenseur6.setBorder(javax.swing.BorderFactory.createEtchedBorder());

        varNbVoyages6.setText("varNbVoyages6");

        varNbVoyagesHeure6.setDisplayedMnemonic('v');
        varNbVoyagesHeure6.setText("varNbVoyagesHeure6");

        varTotalConsoElec6.setText("varTotalConsoElec6");

        varMoyenneConsoElecVoyage6.setText("varMoyenneConsoElecVoyage6");

        varMoyenneConsoElecHeure6.setText("varMoyenneConsoElecHeure6");

        javax.swing.GroupLayout PanelAscenseur6Layout = new javax.swing.GroupLayout(PanelAscenseur6);
        PanelAscenseur6.setLayout(PanelAscenseur6Layout);
        PanelAscenseur6Layout.setHorizontalGroup(
            PanelAscenseur6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(PanelAscenseur6Layout.createSequentialGroup()
                .addGap(6, 6, 6)
                .addComponent(labelNomAscenseur6, javax.swing.GroupLayout.DEFAULT_SIZE, 88, Short.MAX_VALUE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(PanelAscenseur6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(PanelAscenseur6Layout.createSequentialGroup()
                        .addComponent(labelNbVoyages6)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(varNbVoyages6))
                    .addGroup(PanelAscenseur6Layout.createSequentialGroup()
                        .addComponent(labelNbVoyagesHeure6)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(varNbVoyagesHeure6))
                    .addGroup(PanelAscenseur6Layout.createSequentialGroup()
                        .addComponent(labelTotalConsoElec6)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(varTotalConsoElec6))
                    .addGroup(PanelAscenseur6Layout.createSequentialGroup()
                        .addComponent(labelMoyenneConsoElecVoyage6)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(varMoyenneConsoElecVoyage6))
                    .addGroup(PanelAscenseur6Layout.createSequentialGroup()
                        .addComponent(labelMoyenneConsoElecHeure6)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(varMoyenneConsoElecHeure6)))
                .addContainerGap(155, Short.MAX_VALUE))
        );
        PanelAscenseur6Layout.setVerticalGroup(
            PanelAscenseur6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(PanelAscenseur6Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(PanelAscenseur6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(labelNbVoyages6)
                    .addComponent(varNbVoyages6))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(PanelAscenseur6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(labelNomAscenseur6, javax.swing.GroupLayout.PREFERRED_SIZE, 26, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(PanelAscenseur6Layout.createSequentialGroup()
                        .addGroup(PanelAscenseur6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(labelNbVoyagesHeure6)
                            .addComponent(varNbVoyagesHeure6))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(PanelAscenseur6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(labelTotalConsoElec6)
                            .addComponent(varTotalConsoElec6))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(PanelAscenseur6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(labelMoyenneConsoElecVoyage6)
                            .addComponent(varMoyenneConsoElecVoyage6))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(PanelAscenseur6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(labelMoyenneConsoElecHeure6)
                            .addComponent(varMoyenneConsoElecHeure6))))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        labelNbVoyages7.setText("Nombre de voyages : ");

        labelNbVoyagesHeure7.setText("Nombre de voyages par heure :");

        labelTotalConsoElec7.setText("Total consommation electrique");

        labelMoyenneConsoElecVoyage7.setText("Moyenne consommation électrique par voyage :");

        labelMoyenneConsoElecHeure7.setText("Moyenne consommation électrique par heure :");

        labelNomAscenseur7.setBackground(new java.awt.Color(0, 0, 0));
        labelNomAscenseur7.setText("Tous");
        labelNomAscenseur7.setBorder(javax.swing.BorderFactory.createEtchedBorder());

        varNbVoyages7.setText("varNbVoyages7");

        varNbVoyagesHeure7.setDisplayedMnemonic('v');
        varNbVoyagesHeure7.setText("varNbVoyagesHeure7");

        varTotalConsoElec7.setText("varTotalConsoElec7");

        varMoyenneConsoElecVoyage7.setText("varMoyenneConsoElecVoyage7");

        varMoyenneConsoElecHeure7.setText("varMoyenneConsoElecHeure7");

        javax.swing.GroupLayout PanelAscenseur7Layout = new javax.swing.GroupLayout(PanelAscenseur7);
        PanelAscenseur7.setLayout(PanelAscenseur7Layout);
        PanelAscenseur7Layout.setHorizontalGroup(
            PanelAscenseur7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(PanelAscenseur7Layout.createSequentialGroup()
                .addGap(6, 6, 6)
                .addComponent(labelNomAscenseur7, javax.swing.GroupLayout.DEFAULT_SIZE, 88, Short.MAX_VALUE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(PanelAscenseur7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(PanelAscenseur7Layout.createSequentialGroup()
                        .addComponent(labelNbVoyages7)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(varNbVoyages7))
                    .addGroup(PanelAscenseur7Layout.createSequentialGroup()
                        .addComponent(labelNbVoyagesHeure7)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(varNbVoyagesHeure7))
                    .addGroup(PanelAscenseur7Layout.createSequentialGroup()
                        .addComponent(labelTotalConsoElec7)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(varTotalConsoElec7))
                    .addGroup(PanelAscenseur7Layout.createSequentialGroup()
                        .addComponent(labelMoyenneConsoElecVoyage7)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(varMoyenneConsoElecVoyage7))
                    .addGroup(PanelAscenseur7Layout.createSequentialGroup()
                        .addComponent(labelMoyenneConsoElecHeure7)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(varMoyenneConsoElecHeure7)))
                .addContainerGap(155, Short.MAX_VALUE))
        );
        PanelAscenseur7Layout.setVerticalGroup(
            PanelAscenseur7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(PanelAscenseur7Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(PanelAscenseur7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(labelNbVoyages7)
                    .addComponent(varNbVoyages7))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(PanelAscenseur7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(labelNomAscenseur7, javax.swing.GroupLayout.PREFERRED_SIZE, 26, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(PanelAscenseur7Layout.createSequentialGroup()
                        .addGroup(PanelAscenseur7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(labelNbVoyagesHeure7)
                            .addComponent(varNbVoyagesHeure7))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(PanelAscenseur7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(labelTotalConsoElec7)
                            .addComponent(varTotalConsoElec7))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(PanelAscenseur7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(labelMoyenneConsoElecVoyage7)
                            .addComponent(varMoyenneConsoElecVoyage7))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(PanelAscenseur7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(labelMoyenneConsoElecHeure7)
                            .addComponent(varMoyenneConsoElecHeure7))))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        labelNbVoyages2.setText("Nombre de voyages : ");

        labelNbVoyagesHeure2.setText("Nombre de voyages par heure :");

        labelTotalConsoElec2.setText("Total consommation electrique : ");

        labelMoyenneConsoElecVoyage2.setText("Moyenne consommation électrique par voyage :");

        labelMoyenneConsoElecHeure2.setText("Moyenne consommation électrique par heure :");

        labelNomAscenseur2.setBackground(new java.awt.Color(0, 0, 0));
        labelNomAscenseur2.setText("Ascenseur 2");
        labelNomAscenseur2.setBorder(javax.swing.BorderFactory.createEtchedBorder());

        varNbVoyages2.setText("varNbVoyages2");

        varNbVoyagesHeure2.setDisplayedMnemonic('v');
        varNbVoyagesHeure2.setText("varNbVoyagesHeure2");

        varTotalConsoElec2.setText("varTotalConsoElec2");

        varMoyenneConsoElecVoyage2.setText("varMoyenneConsoElecVoyage2");

        varMoyenneConsoElecHeure2.setText("varMoyenneConsoElecHeure2");

        javax.swing.GroupLayout PanelAscenseur2Layout = new javax.swing.GroupLayout(PanelAscenseur2);
        PanelAscenseur2.setLayout(PanelAscenseur2Layout);
        PanelAscenseur2Layout.setHorizontalGroup(
            PanelAscenseur2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(PanelAscenseur2Layout.createSequentialGroup()
                .addGap(6, 6, 6)
                .addComponent(labelNomAscenseur2, javax.swing.GroupLayout.DEFAULT_SIZE, 88, Short.MAX_VALUE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(PanelAscenseur2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(PanelAscenseur2Layout.createSequentialGroup()
                        .addComponent(labelNbVoyages2)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(varNbVoyages2))
                    .addGroup(PanelAscenseur2Layout.createSequentialGroup()
                        .addComponent(labelNbVoyagesHeure2)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(varNbVoyagesHeure2))
                    .addGroup(PanelAscenseur2Layout.createSequentialGroup()
                        .addComponent(labelTotalConsoElec2)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(varTotalConsoElec2))
                    .addGroup(PanelAscenseur2Layout.createSequentialGroup()
                        .addComponent(labelMoyenneConsoElecVoyage2)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(varMoyenneConsoElecVoyage2))
                    .addGroup(PanelAscenseur2Layout.createSequentialGroup()
                        .addComponent(labelMoyenneConsoElecHeure2)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(varMoyenneConsoElecHeure2)))
                .addContainerGap(155, Short.MAX_VALUE))
        );
        PanelAscenseur2Layout.setVerticalGroup(
            PanelAscenseur2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(PanelAscenseur2Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(PanelAscenseur2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(labelNbVoyages2)
                    .addComponent(varNbVoyages2))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(PanelAscenseur2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(labelNomAscenseur2, javax.swing.GroupLayout.PREFERRED_SIZE, 26, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(PanelAscenseur2Layout.createSequentialGroup()
                        .addGroup(PanelAscenseur2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(labelNbVoyagesHeure2)
                            .addComponent(varNbVoyagesHeure2))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(PanelAscenseur2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(labelTotalConsoElec2)
                            .addComponent(varTotalConsoElec2))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(PanelAscenseur2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(labelMoyenneConsoElecVoyage2)
                            .addComponent(varMoyenneConsoElecVoyage2))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(PanelAscenseur2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(labelMoyenneConsoElecHeure2)
                            .addComponent(varMoyenneConsoElecHeure2))))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        varNbVoyages2.getAccessibleContext().setAccessibleName("varNbVoyages2");

        Titre.setFont(new java.awt.Font("Tahoma", 0, 18)); // NOI18N
        Titre.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        Titre.setText("Statistiques");
        Titre.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                    .addComponent(Titre, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(PanelAscenseur1, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(PanelAscenseur2, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(PanelAscenseur3, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(PanelAscenseur4, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(PanelAscenseur5, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(PanelAscenseur6, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(PanelAscenseur7, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addContainerGap(29, Short.MAX_VALUE))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(Titre, javax.swing.GroupLayout.DEFAULT_SIZE, 30, Short.MAX_VALUE)
                .addGap(18, 18, 18)
                .addComponent(PanelAscenseur1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(PanelAscenseur2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(PanelAscenseur3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(PanelAscenseur4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(PanelAscenseur5, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(PanelAscenseur6, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(PanelAscenseur7, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap())
        );

        pack();
    }// </editor-fold>                        

    // Variables declaration - do not modify                     
    private javax.swing.JPanel PanelAscenseur1;
    private javax.swing.JPanel PanelAscenseur2;
    private javax.swing.JPanel PanelAscenseur3;
    private javax.swing.JPanel PanelAscenseur4;
    private javax.swing.JPanel PanelAscenseur5;
    private javax.swing.JPanel PanelAscenseur6;
    private javax.swing.JPanel PanelAscenseur7;
    private javax.swing.JLabel Titre;
    private javax.swing.JLabel labelMoyenneConsoElecHeure1;
    private javax.swing.JLabel labelMoyenneConsoElecHeure2;
    private javax.swing.JLabel labelMoyenneConsoElecHeure3;
    private javax.swing.JLabel labelMoyenneConsoElecHeure4;
    private javax.swing.JLabel labelMoyenneConsoElecHeure5;
    private javax.swing.JLabel labelMoyenneConsoElecHeure6;
    private javax.swing.JLabel labelMoyenneConsoElecHeure7;
    private javax.swing.JLabel labelMoyenneConsoElecVoyage1;
    private javax.swing.JLabel labelMoyenneConsoElecVoyage2;
    private javax.swing.JLabel labelMoyenneConsoElecVoyage3;
    private javax.swing.JLabel labelMoyenneConsoElecVoyage4;
    private javax.swing.JLabel labelMoyenneConsoElecVoyage5;
    private javax.swing.JLabel labelMoyenneConsoElecVoyage6;
    private javax.swing.JLabel labelMoyenneConsoElecVoyage7;
    private javax.swing.JLabel labelNbVoyages1;
    private javax.swing.JLabel labelNbVoyages2;
    private javax.swing.JLabel labelNbVoyages3;
    private javax.swing.JLabel labelNbVoyages4;
    private javax.swing.JLabel labelNbVoyages5;
    private javax.swing.JLabel labelNbVoyages6;
    private javax.swing.JLabel labelNbVoyages7;
    private javax.swing.JLabel labelNbVoyagesHeure1;
    private javax.swing.JLabel labelNbVoyagesHeure2;
    private javax.swing.JLabel labelNbVoyagesHeure3;
    private javax.swing.JLabel labelNbVoyagesHeure4;
    private javax.swing.JLabel labelNbVoyagesHeure5;
    private javax.swing.JLabel labelNbVoyagesHeure6;
    private javax.swing.JLabel labelNbVoyagesHeure7;
    private javax.swing.JLabel labelNomAscenseur1;
    private javax.swing.JLabel labelNomAscenseur2;
    private javax.swing.JLabel labelNomAscenseur3;
    private javax.swing.JLabel labelNomAscenseur4;
    private javax.swing.JLabel labelNomAscenseur5;
    private javax.swing.JLabel labelNomAscenseur6;
    private javax.swing.JLabel labelNomAscenseur7;
    private javax.swing.JLabel labelTotalConsoElec1;
    private javax.swing.JLabel labelTotalConsoElec2;
    private javax.swing.JLabel labelTotalConsoElec3;
    private javax.swing.JLabel labelTotalConsoElec4;
    private javax.swing.JLabel labelTotalConsoElec5;
    private javax.swing.JLabel labelTotalConsoElec6;
    private javax.swing.JLabel labelTotalConsoElec7;
    private javax.swing.JLabel varMoyenneConsoElecHeure1;
    private javax.swing.JLabel varMoyenneConsoElecHeure2;
    private javax.swing.JLabel varMoyenneConsoElecHeure3;
    private javax.swing.JLabel varMoyenneConsoElecHeure4;
    private javax.swing.JLabel varMoyenneConsoElecHeure5;
    private javax.swing.JLabel varMoyenneConsoElecHeure6;
    private javax.swing.JLabel varMoyenneConsoElecHeure7;
    private javax.swing.JLabel varMoyenneConsoElecVoyage1;
    private javax.swing.JLabel varMoyenneConsoElecVoyage2;
    private javax.swing.JLabel varMoyenneConsoElecVoyage3;
    private javax.swing.JLabel varMoyenneConsoElecVoyage4;
    private javax.swing.JLabel varMoyenneConsoElecVoyage5;
    private javax.swing.JLabel varMoyenneConsoElecVoyage6;
    private javax.swing.JLabel varMoyenneConsoElecVoyage7;
    private javax.swing.JLabel varNbVoyages1;
    private javax.swing.JLabel varNbVoyages2;
    private javax.swing.JLabel varNbVoyages3;
    private javax.swing.JLabel varNbVoyages4;
    private javax.swing.JLabel varNbVoyages5;
    private javax.swing.JLabel varNbVoyages6;
    private javax.swing.JLabel varNbVoyages7;
    private javax.swing.JLabel varNbVoyagesHeure1;
    private javax.swing.JLabel varNbVoyagesHeure2;
    private javax.swing.JLabel varNbVoyagesHeure3;
    private javax.swing.JLabel varNbVoyagesHeure4;
    private javax.swing.JLabel varNbVoyagesHeure5;
    private javax.swing.JLabel varNbVoyagesHeure6;
    private javax.swing.JLabel varNbVoyagesHeure7;
    private javax.swing.JLabel varTotalConsoElec1;
    private javax.swing.JLabel varTotalConsoElec2;
    private javax.swing.JLabel varTotalConsoElec3;
    private javax.swing.JLabel varTotalConsoElec4;
    private javax.swing.JLabel varTotalConsoElec5;
    private javax.swing.JLabel varTotalConsoElec6;
    private javax.swing.JLabel varTotalConsoElec7;
    private javax.swing.JPanel panelPrincipal;
    // End of variables declaration                   
}